package com.whq.mvc.base.designpattern.observe;

public abstract class AbstractFans {

    public abstract void accept(String msg);

    public void follow(AbstractTikToker tikToker){
        tikToker.addFans(this);
    }

    public void unFollow(AbstractTikToker tikToker){
        tikToker.removeFans(this);
    }
}
